package com.ashley.day_03;

import java.util.Scanner;

public class ScoreTest {

	public static void main(String[] args) {
		Scanner scan =new Scanner(System.in);
		
		System.out.println("请输入你的分数：");
		int score=scan.nextInt();
		if (score==100){
			System.out.println("奖励一辆BMW");
		}
		else if(80<score && score<=99){
			System.out.println("奖励一台Iphone xs max");
		}
		else if (score>=60 && score<=80) {
			System.out.println("奖励一个Ipad");
		}
		else {
		    System.out.println("没有奖励，下次加油！");
		}
	}

}
